from . import app_account

from flask import request
from .user_login import UserLogin

@app_account.route('/login',methods=['POST'])

def login_verify():

    info=request.form
    phone=info.get('phone')
    password=info.get('password')

    with UserLogin() as b:

        result=b.user_login(phone,password,request.method)

    return result



